package com.vizhuo.smscode.model;

import java.io.Serializable;

import org.joda.time.DateTime;
import org.springframework.format.annotation.DateTimeFormat;

import com.vizhuo.base.model.BaseModel;

/**
 * smscode
 * 
 * @author xujj
 * @version 1.0
 */
@SuppressWarnings("serial")
public class SMSCode extends BaseModel<java.lang.Integer> implements
		Serializable {
	private String mobile;
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private DateTime sendTime;
	
	private String code;
	private String type;
	
    public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public SMSCode() {

    }

	public SMSCode(String mobile,String code){
		this.mobile = mobile;
		this.code = code;
	}
	
	public SMSCode(String mobile, String code, String type) {
		super();
		this.mobile = mobile;
		this.code = code;
		this.type = type;
	}

	public DateTime getSendTime() {
		return sendTime;
	}

	public void setSendTime(DateTime sendTime) {
		this.sendTime = sendTime;
	}

	public java.lang.String getCode() {
		return code;
	}

	public void setCode(java.lang.String code) {
		this.code = code;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}


	
}